package com.yyyzzz.bean;

public class Teacher {
    private int teacherNo;
    private String teachername;
    private String teacherpassword;
    private String teacherjob;
    private String sex;

    @Override
    public String toString () {
        return "Teacher{" +
                "teacherNo=" + teacherNo +
                ", teachername='" + teachername + '\'' +
                ", teacherpassword='" + teacherpassword + '\'' +
                ", teacherjob='" + teacherjob + '\'' +
                ", sex=" + sex +
                '}';
    }

    public int getTeacherNo () {
        return teacherNo;
    }

    public void setTeacherNo (int teacherNo) {
        this.teacherNo = teacherNo;
    }

    public String getTeachername () {
        return teachername;
    }

    public void setTeachername (String teachername) {
        this.teachername = teachername;
    }

    public String getTeacherpassword () {
        return teacherpassword;
    }

    public void setTeacherpassword (String teacherpassword) {
        this.teacherpassword = teacherpassword;
    }

    public String getTeacherjob () {
        return teacherjob;
    }

    public void setTeacherjob (String teacherjob) {
        this.teacherjob = teacherjob;
    }

    public String getSex () {
        return sex;
    }

    public void setSex (String sex) {
        this.sex = sex;
    }

    public Teacher () {
    }

    public Teacher (int teacherNo , String teachername , String teacherpassword , String teacherjob , String sex) {
        this.teacherNo = teacherNo;
        this.teachername = teachername;
        this.teacherpassword = teacherpassword;
        this.teacherjob = teacherjob;
        this.sex = sex;
    }
}
